home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / eroticos / spermananalodyssea.swf / scripts / frame_8 / PlaceObject2_149_95 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2005-11-04  |  3KB  |  84 lines

  1. onClipEvent(enterFrame){
  2.    if(_root.sperman.scrollStart == true)
  3.    {
  4.       if(_root.movieWidth / 2 >= _root["obstacle" + obstacleCounter]._x && _root.movieWidth / 2 - _root[mostrarObstacle]._width >= _root["obstacle" + obstacleCounter]._x)
  5.       {
  6.          obstacleCounter++;
  7.          if(obstacleCounter >= 420)
  8.          {
  9.             obstacleCounter = 400;
  10.          }
  11.          obstaculoV = random(4);
  12.          switch(obstaculoV)
  13.          {
  14.             case 0:
  15.                mostrarObstacle = "lombriz";
  16.                _root.viagra_counter.inverso._visible = 0;
  17.                if(_root.sperman.caraDestino == "rapido")
  18.                {
  19.                   _root.sperman.caraDestino = "normal";
  20.                }
  21.                else
  22.                {
  23.                   _root.sperman.gotoAndStop("normal");
  24.                }
  25.                _root.sangre.removeMovieClip();
  26.                break;
  27.             case 3:
  28.                mostrarObstacle = "tampon";
  29.                _root.createEmptyMovieClip("sangre",1000);
  30.                with(_root.sangre)
  31.                {
  32.                   attachMovie("aguaMOV","agua",this.getNextHighestDepth());
  33.                   agua._x = _root.movieWidth / 2;
  34.                   agua._y = _root.movieHeight / 2;
  35.                   beginFill(16711680,40);
  36.                   moveTo(0,0);
  37.                   lineTo(550,0);
  38.                   lineTo(550,400);
  39.                   lineTo(0,400);
  40.                   lineTo(0,0);
  41.                   endFill();
  42.                }
  43.                _root.viagra_counter.inverso._visible = 1;
  44.                if(_root.sperman.caraDestino == "rapido")
  45.                {
  46.                   _root.sperman.caraDestino = "asco";
  47.                }
  48.                else
  49.                {
  50.                   _root.sperman.gotoAndStop("asco");
  51.                }
  52.                break;
  53.             default:
  54.                mostrarObstacle = "pedo";
  55.                _root.viagra_counter.inverso._visible = 0;
  56.                if(_root.sperman.caraDestino == "rapido")
  57.                {
  58.                   _root.sperman.caraDestino = "normal";
  59.                }
  60.                else
  61.                {
  62.                   _root.sperman.gotoAndStop("normal");
  63.                }
  64.                _root.sangre.removeMovieClip();
  65.          }
  66.          _root[mostrarObstacle].duplicateMovieClip("obstacle" + obstacleCounter,obstacleCounter);
  67.          _root["obstacle" + obstacleCounter]._y = random(_root.blockController._height - 54) + (_root.blockController._y - _root.blockController._height / 2);
  68.          _root.aparecer = _root.aparecer + 1;
  69.       }
  70.       if(_root.aparecer == _root.aleatorio)
  71.       {
  72.          viagraCounter++;
  73.          _root.aparecer = 0;
  74.          _root.aleatorio = random(2) + 3;
  75.          if(viagraCounter >= 520)
  76.          {
  77.             viagraCounter = 500;
  78.          }
  79.          _root.viagra.duplicateMovieClip("viagra" + viagraCounter,viagraCounter);
  80.          _root["viagra" + viagraCounter]._y = random(_root.blockController._height - 41.1) + (_root.blockController._y - _root.blockController._height / 2);
  81.       }
  82.    }
  83. }
  84.